package com.cqndt.disaster.device.domain;

import lombok.Data;
import java.util.Date;
import java.text.SimpleDateFormat;

@Data
public class TabDeviceInstall {

    private Integer id;

    private String jcgg;

    private String anwz;

    private String sgtj;

    private String gdfs;

    private String gdsm;

    private String yxtj;

    private String cgtj;

    private String ydxh;
    
    private String gprsXh;

    private String dx3g;

    private String slqk;

    private Date sgrq;

    public String getSgrqStr() {
        if(null == getSgrq()){
            return null;
        }
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        String dateString = formatter.format(getSgrq());
        return dateString;
    }

    private Date jgrq;
    public String getJgrqStr() {
        if(null == getJgrq()){
            return null;
        }
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        String dateString = formatter.format(getJgrq());
        return dateString;
    }

    private String sgry;

    private String jcry;

    private String ysry;

    private String wgjc;

    private String lgaz;

    private String tyngd;

    private String sjcj;

    private String sjcs;

    private Date azrq;

    public String getAzrqStr() {
        if(null == getAzrq()){
            return null;
        }
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        String dateString = formatter.format(getAzrq());
        return dateString;
    }

    private Date wcrq;

    public String getWcrqStr() {
        if(null == getWcrq()){
            return null;
        }
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        String dateString = formatter.format(getWcrq());
        return dateString;
    }

    private String azry;

    private String azjcry;

    private String azysry;

    private String zjbh;

    private String azdw;

    private String remark;

    private String deviceNo;

    private Double temperature;

}